package com.example.lightcontrol;

import java.net.Socket;


public class CommonConfig {
	private static CommonConfig instance = new CommonConfig();
	
	private Socket mSocket;
	private CommonConfig() {}
	
	public static CommonConfig getInstance() {
		return instance;
	}
	
	public final static String PROPERTY_USERNAME = "PROPERTY_USERNAME";
	public final static String PROPERTY_PASSWORD = "PROPERTY_PASSWORD";
	public final static String PROPERTY_IP = "PROPERTY_IP";
	public static final int PROPERTY_PORT = 9898;
	public void setSocket(Socket s) {
		mSocket = s;
	}

	public Socket getSocket() {
		return mSocket;
	}
	
	
	
	public final static int MESSAGE_TYPE_LIGH_CONTROL = 2;
	public final static int MESSAGE_TYPE_LIGH_STATE = 3;
}
